/**
* 版权所有：福建邮科电信业务部厦门研发中心 
*====================================================
* 文件名称: FormFieldMeta.java
* 修订记录：
* No    日期				作者(操作:具体内容)
* 1.    2013-3-27			詹保山(创建:创建文件)
*====================================================
* 类描述：(说明未实现或其它不应生成javadoc的内容)
* 
*/
package com.devframe.gc.meta;

import java.util.Map;

import com.devframe.gc.core.ZBSGCConstants;
import com.devframe.gc.core.ZBSGCContainer;
import com.devframe.sys.annotation.Input;


public abstract class FieldMeta<T> {
	
	private String fieldName;
	
	private String fieldType;
	
	private String label;
	
	private int orderNum;
	
	private boolean list;
	
	
	
	private Map<String,Object> grobalParams;
	
	
	

 
	protected abstract String getFieldTemplateFile();
	
	
	public abstract Map<String,Object> getFieldParams();
	
	
	public  abstract T getAnnotation();
	
	public abstract void setAnnotation(T annotation);
	
	
	public String accessTemplatePath(){
		return  this.getFieldTemplateFile();
	}


	public String getFieldName() {
		return fieldName;
	}


	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}


	public Map<String, Object> getGrobalParams() {
		return grobalParams;
	}


	public void setGrobalParams(Map<String, Object> grobalParams) {
		this.grobalParams = grobalParams;
	}


	public String getLabel() {
		return label;
	}


	public void setLabel(String label) {
		this.label = label;
	}


	public String getFieldType() {
		return fieldType;
	}


	public void setFieldType(String fieldType) {
		this.fieldType = fieldType;
	}


	public int getOrderNum() {
		return orderNum;
	}


	public void setOrderNum(int orderNum) {
		this.orderNum = orderNum;
	}


	public boolean isList() {
		return list;
	}


	public void setList(boolean list) {
		this.list = list;
	}

}
